extends Sprite

var tileType = 0
var x
var y
onready var label = $Label

func init(a, b , type):
	tileType = type
	x = a
	y = b

func _ready():
	pass

func showWalkable():
	texture = MapConst.walkableTexture

func showAttacable():
	texture = MapConst.attactableTexture

func clearStat():
	texture = null

func showSpend():
	label.text = String(tileType)
